home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 27 code / Internet_Config_Assistant.sit / Internet Config Assistant / InternetAssistant / TMapView.h < prev   
MacBinary  |  1996-05-02  |  2.0 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu May 2 10:41:10 1996, modified Thu May 2 10:41:10 1996, creator 'CWIE', type ASCII, 1390 bytes "TMapView.h" , at 0x5ee 410 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 54 4d 61 70 56 69 | 65 77 2e 68 00 00 00 00 |..TMapVi|ew.h....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 05 6e 00 | 00 01 9a ad ae 7a 06 ad |......n.|.....z..|
|00000060| ae 7a 06 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.z......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 5b 47 00 00 |........|....[G..|
|00000080| 2f 2a 0d 20 20 46 69 6c | 65 3a 09 09 09 54 4d 61 |/*. Fil|e:...TMa|
|00000090| 70 56 69 65 77 2e 68 0d | 0d 20 20 43 6f 6e 74 61 |pView.h.|. Conta|
|000000a0| 69 6e 73 3a 09 09 43 6c | 61 73 73 20 69 6d 70 6c |ins:..Cl|ass impl|
|000000b0| 65 6d 65 6e 74 69 6e 67 | 20 61 20 6d 61 70 20 6c |ementing| a map l|
|000000c0| 6f 63 61 74 69 6f 6e 20 | 73 65 6c 65 63 74 6f 72 |ocation |selector|
|000000d0| 0d 0d 20 20 57 72 69 74 | 74 65 6e 20 62 79 3a 20 |.. Writ|ten by: |
|000000e0| 09 41 72 6e 6f 20 47 6f | 75 72 64 6f 6c 0d 0d 20 |.Arno Go|urdol.. |
|000000f0| 20 43 6f 70 79 72 69 67 | 68 74 3a 09 43 6f 70 79 | Copyrig|ht:.Copy|
|00000100| 72 69 67 68 74 20 31 39 | 39 36 20 62 79 20 41 70 |right 19|96 by Ap|
|00000110| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|00000120| 63 2e 2c 20 61 6c 6c 20 | 72 69 67 68 74 73 20 72 |c., all |rights r|
|00000130| 65 73 65 72 76 65 64 2e | 0d 0d 2a 2f 0d 0d 23 70 |eserved.|..*/..#p|
|00000140| 72 61 67 6d 61 20 6f 6e | 63 65 0d 0d 23 69 66 6e |ragma on|ce..#ifn|
|00000150| 64 65 66 09 5f 5f 54 4d | 41 50 56 49 45 57 5f 5f |def.__TM|APVIEW__|
|00000160| 0d 23 64 65 66 69 6e 65 | 09 5f 5f 54 4d 41 50 56 |.#define|.__TMAPV|
|00000170| 49 45 57 5f 5f 0d 0d 23 | 69 6e 63 6c 75 64 65 20 |IEW__..#|include |
|00000180| 22 54 44 72 61 77 43 6f | 6e 74 65 78 74 2e 68 22 |"TDrawCo|ntext.h"|
|00000190| 0d 23 69 6e 63 6c 75 64 | 65 20 22 54 42 69 74 6d |.#includ|e "TBitm|
|000001a0| 61 70 2e 68 22 0d 0d 0d | 0d 74 79 70 65 64 65 66 |ap.h"...|.typedef|
|000001b0| 20 73 74 72 75 63 74 20 | 52 67 6e 4c 52 65 73 6f | struct |RgnLReso|
|000001c0| 75 72 63 65 45 6e 74 72 | 79 0d 7b 0d 09 73 68 6f |urceEntr|y.{..sho|
|000001d0| 72 74 09 70 69 63 74 75 | 72 65 49 44 3b 0d 09 73 |rt.pictu|reID;..s|
|000001e0| 68 6f 72 74 09 76 61 6c | 75 65 3b 0d 7d 20 52 65 |hort.val|ue;.} Re|
|000001f0| 67 69 6f 6e 56 61 6c 75 | 65 52 65 63 3b 0d 0d 0d |gionValu|eRec;...|
|00000200| 73 74 72 75 63 74 20 52 | 67 6e 4c 52 65 73 6f 75 |struct R|gnLResou|
|00000210| 72 63 65 0d 7b 0d 09 55 | 49 6e 74 31 36 20 72 65 |rce.{..U|Int16 re|
|00000220| 67 69 6f 6e 43 6f 75 6e | 74 3b 0d 09 52 67 6e 4c |gionCoun|t;..RgnL|
|00000230| 52 65 73 6f 75 72 63 65 | 45 6e 74 72 79 20 72 65 |Resource|Entry re|
|00000240| 67 69 6f 6e 73 5b 31 5d | 3b 0d 7d 3b 0d 0d 74 79 |gions[1]|;.};..ty|
|00000250| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 52 67 6e |pedef st|ruct Rgn|
|00000260| 4c 52 65 73 6f 75 72 63 | 65 20 52 67 6e 4c 52 65 |LResourc|e RgnLRe|
|00000270| 73 6f 75 72 63 65 2c 20 | 2a 2a 52 67 6e 4c 52 65 |source, |**RgnLRe|
|00000280| 73 6f 75 72 63 65 48 61 | 6e 64 6c 65 3b 0d 0d 0d |sourceHa|ndle;...|
|00000290| 0d 63 6c 61 73 73 20 54 | 4d 61 70 56 69 65 77 0d |.class T|MapView.|
|000002a0| 7b 0d 70 75 62 6c 69 63 | 3a 0d 09 2f 2f 20 63 6f |{.public|:..// co|
|000002b0| 6e 73 74 72 75 63 74 6f | 72 0d 09 54 4d 61 70 56 |nstructo|r..TMapV|
|000002c0| 69 65 77 28 53 49 6e 74 | 31 36 20 6d 61 70 49 44 |iew(SInt|16 mapID|
|000002d0| 2c 20 53 49 6e 74 31 36 | 20 68 69 6c 69 74 65 4d |, SInt16| hiliteM|
|000002e0| 61 70 49 44 2c 20 53 49 | 6e 74 31 36 20 63 6f 6c |apID, SI|nt16 col|
|000002f0| 6f 72 4d 61 70 49 44 2c | 20 0d 09 09 09 09 53 49 |orMapID,| .....SI|
|00000300| 6e 74 31 36 20 63 6f 6c | 6f 72 48 69 6c 69 74 65 |nt16 col|orHilite|
|00000310| 4d 61 70 49 44 2c 20 53 | 49 6e 74 31 36 20 72 65 |MapID, S|Int16 re|
|00000320| 67 69 6f 6e 4c 69 73 74 | 49 44 29 3b 0d 09 0d 09 |gionList|ID);....|
|00000330| 2f 2f 20 64 65 73 74 72 | 75 63 74 6f 72 0d 09 7e |// destr|uctor..~|
|00000340| 54 4d 61 70 56 69 65 77 | 28 29 3b 0d 0d 09 2f 2f |TMapView|();...//|
|00000350| 20 65 76 65 6e 74 73 0d | 09 76 6f 69 64 20 44 72 | events.|.void Dr|
|00000360| 61 77 28 63 6f 6e 73 74 | 20 54 44 72 61 77 43 6f |aw(const| TDrawCo|
|00000370| 6e 74 65 78 74 26 20 64 | 72 61 77 43 6f 6e 74 65 |ntext& d|rawConte|
|00000380| 78 74 2c 20 63 6f 6e 73 | 74 20 43 52 65 63 74 26 |xt, cons|t CRect&|
|00000390| 20 66 72 61 6d 65 29 20 | 63 6f 6e 73 74 3b 0d 09 | frame) |const;..|
|000003a0| 76 6f 69 64 20 4d 6f 75 | 73 65 44 6f 77 6e 28 43 |void Mou|seDown(C|
|000003b0| 52 65 63 74 20 62 6f 75 | 6e 64 73 29 3b 0d 09 76 |Rect bou|nds);..v|
|000003c0| 6f 69 64 20 50 75 6c 73 | 65 28 76 6f 69 64 29 3b |oid Puls|e(void);|
|000003d0| 0d 0d 09 2f 2f 20 67 65 | 74 74 65 72 73 0d 09 53 |...// ge|tters..S|
|000003e0| 49 6e 74 31 36 20 46 69 | 6e 64 52 65 67 69 6f 6e |Int16 Fi|ndRegion|
|000003f0| 28 43 50 6f 69 6e 74 20 | 6c 6f 63 61 74 69 6f 6e |(CPoint |location|
|00000400| 29 3b 0d 09 53 49 6e 74 | 31 36 20 47 65 74 56 61 |);..SInt|16 GetVa|
|00000410| 6c 75 65 28 76 6f 69 64 | 29 3b 0d 09 0d 09 2f 2f |lue(void|);....//|
|00000420| 20 73 65 74 74 65 72 73 | 0d 09 76 6f 69 64 20 53 | setters|..void S|
|00000430| 65 74 56 61 6c 75 65 28 | 53 49 6e 74 31 36 20 76 |etValue(|SInt16 v|
|00000440| 61 6c 75 65 29 3b 0d 0d | 70 72 69 76 61 74 65 3a |alue);..|private:|
|00000450| 0d 09 54 42 69 74 6d 61 | 70 2a 20 66 43 6f 6c 6f |..TBitma|p* fColo|
|00000460| 72 4d 61 70 3b 09 09 09 | 2f 2f 20 42 69 74 6d 61 |rMap;...|// Bitma|
|00000470| 70 20 6f 66 20 74 68 65 | 20 72 65 67 75 6c 61 72 |p of the| regular|
|00000480| 20 6d 61 70 0d 09 54 42 | 69 74 6d 61 70 2a 20 66 | map..TB|itmap* f|
|00000490| 43 6f 6c 6f 72 48 69 6c | 69 74 65 64 4d 61 70 3b |ColorHil|itedMap;|
|000004a0| 09 2f 2f 20 42 69 74 6d | 61 70 20 6f 66 20 74 68 |.// Bitm|ap of th|
|000004b0| 65 20 68 69 6c 69 74 65 | 64 20 6d 61 70 0d 09 54 |e hilite|d map..T|
|000004c0| 42 69 74 6d 61 70 2a 20 | 66 4d 61 70 3b 09 09 09 |Bitmap* |fMap;...|
|000004d0| 09 2f 2f 20 42 69 74 6d | 61 70 20 6f 66 20 74 68 |.// Bitm|ap of th|
|000004e0| 65 20 72 65 67 75 6c 61 | 72 20 6d 61 70 20 28 42 |e regula|r map (B|
|000004f0| 26 57 29 0d 09 54 42 69 | 74 6d 61 70 2a 20 66 48 |&W)..TBi|tmap* fH|
|00000500| 69 6c 69 74 65 64 4d 61 | 70 3b 09 09 2f 2f 20 42 |ilitedMa|p;..// B|
|00000510| 69 74 6d 61 70 20 6f 66 | 20 74 68 65 20 68 69 6c |itmap of| the hil|
|00000520| 69 74 65 64 20 6d 61 70 | 20 28 42 26 57 29 0d 0d |ited map| (B&W)..|
|00000530| 09 53 49 6e 74 31 36 20 | 66 53 65 6c 65 63 74 65 |.SInt16 |fSelecte|
|00000540| 64 52 65 67 69 6f 6e 3b | 09 09 2f 2f 20 49 6e 64 |dRegion;|..// Ind|
|00000550| 65 78 20 69 6e 20 66 52 | 65 67 69 6f 6e 73 20 6f |ex in fR|egions o|
|00000560| 72 20 2d 31 0d 0d 09 55 | 49 6e 74 31 36 20 66 4e |r -1...U|Int16 fN|
|00000570| 75 6d 52 65 67 69 6f 6e | 73 3b 09 09 09 2f 2f 20 |umRegion|s;...// |
|00000580| 4e 75 6d 62 65 72 20 6f | 66 20 72 65 67 69 6f 6e |Number o|f region|
|00000590| 73 0d 09 73 74 72 75 63 | 74 20 52 65 67 69 6f 6e |s..struc|t Region|
|000005a0| 20 7b 20 52 67 6e 48 61 | 6e 64 6c 65 20 72 65 67 | { RgnHa|ndle reg|
|000005b0| 69 6f 6e 3b 20 53 49 6e | 74 31 36 20 76 61 6c 75 |ion; SIn|t16 valu|
|000005c0| 65 3b 20 53 49 6e 74 31 | 36 20 70 69 63 74 75 72 |e; SInt1|6 pictur|
|000005d0| 65 49 44 3b 20 7d 20 2a | 66 52 65 67 69 6f 6e 73 |eID; } *|fRegions|
|000005e0| 3b 0d 7d 3b 0d 0d 0d 23 | 65 6e 64 69 66 0d 00 00 |;.};...#|endif...|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00000610| 00 00 ac a7 0b 65 78 63 | 65 70 74 69 6f 6e 2e 68 |.....exc|eption.h|
|00000620| 02 00 00 00 54 45 58 54 | 43 57 49 45 01 00 00 68 |....TEXT|CWIE...h|
|00000630| 0a 54 4d 61 70 56 69 65 | 77 2e 68 56 02 00 00 00 |.TMapVie|w.hV....|
|00000640| 54 45 58 54 43 57 49 45 | 01 00 00 9c 00 80 00 00 |TEXTCWIE|........|
|00000650| 00 00 54 45 58 54 43 57 | 49 45 01 00 00 9c 00 80 |..TEXTCW|IE......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 ad 17 4a 53 00 00 | 05 6e 00 00 01 9a 00 00 |....JS..|.n......|
|00000680| 00 00 00 00 00 00 0d 00 | 00 00 ac a7 07 66 63 6e |........|.....fcn|
|00000690| 74 6c 2e 68 02 00 00 00 | 54 45 58 54 43 57 49 45 |tl.h....|TEXTCWIE|
|000006a0| 01 00 00 9c 00 00 00 00 | 00 00 ac c4 00 00 00 00 |........|........|
|000006b0| 07 2b 00 00 80 00 00 00 | 00 00 00 00 00 00 00 00 |.+......|........|
|000006c0| ab 89 15 6c ac 45 2a b1 | 00 00 00 00 00 00 00 00 |...l.E*.|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 72 9a |........|......r.|
|000006e0| 00 01 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 0d 00 00 00 ac a7 |........|........|
|00000700| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 03 | 00 04 00 6e 01 48 02 5b |........|...n.H.[|
|00000730| 03 77 00 6e 01 48 02 5b | 03 77 ad fc 23 e1 00 00 |.w.n.H.[|.w..#...|
|00000740| 03 a2 00 00 03 a2 00 00 | 01 cd 01 00 00 00 00 04 |........|........|
|00000750| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00000760| 00 00 00 46 02 b0 f3 38 | 30 7a 00 00 00 1c 00 46 |...F...8|0z.....F|
|00000770| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00000780| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00000790| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+